package com.ttbj.salesman.bean.po;

import java.util.Date;

/**
 * 权限类 
 */
public class Permission {
	//权限主键ID
	private Long id;
	//父级ID
	private Long parentId;
	//菜单名称
	private String permissionName;
	//URL
	private String url;
	//排序
	private int ordering;
	//权限
	private String permission;
	//创建时间
	private Date createDate;
	//ICON图标
	private String icon;
	//是否是顶级菜单：1是，0或者其他不是
	private int topMenu;
	//是否为菜单：0为请求路径，1为展示菜单
	private int menuType;
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public String getPermissionName() {
		return permissionName;
	}
	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getOrdering() {
		return ordering;
	}
	public void setOrdering(int ordering) {
		this.ordering = ordering;
	}
	public String getPermission() {
		return permission;
	}
	public void setPermission(String permission) {
		this.permission = permission;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public int getTopMenu() {
		return topMenu;
	}
	public void setTopMenu(int topMenu) {
		this.topMenu = topMenu;
	}
	public int getMenuType() {
		return menuType;
	}
	public void setMenuType(int menuType) {
		this.menuType = menuType;
	}
	
	
}	
